var orderResource = {
	province: "省份",
	city: "城市",
	county: "区/县",
	village: "乡镇",
	save_receiver_info: "保存收货人信息",
	input_receiver_name: "请输入收货人姓名",
	receiver_name_exceed: "收货人姓名超过20字符",
	receiver_name_include_illegal_character: "收货人姓名含有非法字符",
	input_receiver_company: "请您填写收货公司",
	company_name_include_illegal_character: "收货公司含有非法字符",
	input_receiver_mobile_phone_number: "请您填写收货人手机号码",
	incorrect_mobile_phone_number: "请输入正确的手机号码",
	telephone_number_include_illegal_character: "固定电话号码中含有非法字符",
	format_telephone_number: "请输入正确的固定电话，格式为:XXX(区号)-XXXXXXXX(电话号码)-XXX(分机号)",
	select_correct_address: "请选择正确的省份/城市/区县",
	select_correct_village: "请选择正确的乡镇",
	input_address_detail: "请您填写详细地址",
	address_detail_include_illegal_character: "详细地址中含有非法字符",
	address_detail_exceed: "详细地址过长",
	input_postal_code: "请您填写邮政编码",
	incorrect_postal_code: "请您填写正确的邮政编码",
	email_format_incorrect: "邮箱格式不正确",
	email_address_exceed: "邮箱长度不能大于100位",
	submitting: "正在提交...",
	company_title: "公司抬头",
	value_added_tax_invoice: "增值发票",
	normal_invoice: "普通发票",
	individual: "个人",
	delete_operate: "删除操作",
	confirmed_to_delete: "确认删除吗？",
	gift_card_and_inner_money_did_not_work_together: "您已使用内购额度，礼品卡和内购额度不能同时使用！",
	delivery_info: "收货信息",
	add_delivery_address: "新增收货地址",
	same_as_delivery_address: "同收货地址",
	invoice_delivery_address: "发票寄送信息",
	add_invoice_delivery_address: "新增发票地址",
	contract_delivery_address: "合同寄送信息",
	whether_deliver_contract: "是否寄送合同",
	add_contract_delivery_address: "新增合同地址",
	more_delivery_address: "更多地址",
	default_delivery_address: "默认地址",
	modify: "修改",
	collapse_address: "收起地址",
	postal_code: "邮政编码",
	use_for_receive_email: "用来接收订单提醒邮件，便于您及时了解订单状态",
	receiver_company: "收货公司",
	receiver: "收货人",
	receiver_is_required: "收货人不能为空",
	mobile_phone: "手机",
	telephone: "固定电话",
	address: "地址",
	address_detail: "详细地址",
	email: "邮箱",
	set_as_default_delivery_address: "设置为默认收货地址",
	reminder_p1: "温馨提示：请确保以上信息准确无误，如发现有误请立即联系客服，避免因填写错误导致贵公司损失！",
	reminder_p2: "增值税专用发票在订单付款成功后由专人审核，正常情况下10个工作日内按收票地址寄出，请及时认证抵扣；",
	reminder_p3: "根据税务局要求，如发生退货，需购买方提供冲红通知单；税后扣除相关问题，由专业财务人员帮您处理。",
	name_same_as_ID_card: "请与身份证姓名保持一致",
	payment_way: "支付方式",
	invoice_content_just_support_detail: "发票内容只能开明细，通过“个人账户”在线支付只能开个人抬头普通发票，通过“公司支付宝/银行账户”在线支付可开增值税发票",
	remain_pay_contact: "尾款支付联系方式",
	pre_sale_agreement: "《预售协议》",
	confirm: "确定",
	input_remain_pay_contact_phone: "请输入正确尾款联系手机号码！",
	amount_of_money: "金额",
	point: "积分",
	back_to_cart: "返回购物车修改",
	confirmed_goods: "确认商品",
	goods_name: "商品名称",
	price: "单价",
	num: "数量",
	use: "使用",
	credit_line: "信用额度",
	available: "可用",
	buyer: "分销商",
	demonstrate: "效果图",
	words: "文字",
	spray_printing: "喷印",
	radium_carve: "镭雕",
	side: "面",
	picture_code: "图片编码",
	customized: "定制",
	customized_and_side_carve: "定制:&nbsp;【{0}面刻字】",
	sn_code: "SN码",
	portray: "描述",
	selected_number: "已选号码",
	gift: "赠品",
	service: "服务",
	data_recovery_insurance: "数据恢复险",
	sales_promotion_msg1: "原价199元,活动价<span style='color:red;'>{0}</span>元,软件数据恢复服务（远程，1年有效期）",
	sales_promotion_msg2: "针对联想出厂PC出现因软件原因导致的数据丢失，提供软件数据恢复服务（远程），1年有效期",
	package: "套餐",
	options: "选件",
	system_busy_try_again_later: "系统繁忙，更新结算缓存失败，请稍后再试！",
	currency_symbol: "￥",
	current_point: "当前积分",
	exchange_needed_point: "兑换使用积分",
	pc_client_submit_order: "PC端_提交订单",
	submit_order: "提交订单",
	use_coupon_code_success: "使用优惠码成功",
	use_inner_money_success: "使用内购成功",
	use_le_dou_success: "使用乐豆成功",
	use_sn_code_success: "使用SN码成功",
	agree_contract: "我同意  《入网协议》",
	select_or_added_invoice_info: "请选择或新增发票信息",
	proxy_purchase_confirmed: "请确认此订单是代公司采购",
	select_or_added_invoice_address: "请选择或新增发票地址",
	select_or_added_contract_address: "请选择或新增合同地址",
	dongde_contract_select: "请勾选同意 《入网协议》",
	thinkpad_contract_select: "请勾选同意《ThinkPad产品网络销售通用条款和条件》 和《电脑喷绘服务条款》",
	lenovo_contract_select: "请勾选同意《联想产品网络销售通用条款和条件》",
	order_remarks_exceed: "订单备注不能大于45个字符",
	remark_include_illegal_character: "订单备注含有非法字符",
	customer_manager_code_exceed: "客服经理编码不能大于30个字符",
	manager_code_include_illegal_character: "客服经理编码含有非法字符",
	input_remain_pay_contact: "请填写尾款支付联系方式！",
	input_remain_pay_mobile_phone: "请输入正确尾款联系手机号码!",
	in_submitting: "提交中...",
	credit_insufficient: "输入的额度大于您的可用额度~",
	credit_must_less_than_order_amount: "输入额度不能大于商品总额 ~",
	input_credit: "请输入信用额度~  ",
	export_failure: "导出失败"
}

var chargeResource = {
	input_legal_mobile_phone_number: "请输入合法手机号",
	not_support_some_number: "暂不支持170/171手机号码充值",
	mobile_phone_number_is_required: "请填写手机号",
	select_charge_amount: "请选择充值金额",
	select_charge_network_flow: "请选择充值流量"
}

var userResource = {
	add_delivery_address: "增加收货地址",
	add_invoice_delivery_address: "增加收票地址",
	province: "省份",
	city: "城市",
	county: "区/县",
	village: "乡镇",
	edit_delivery_address: "编辑收货地址",
	edit_invoice_delivery_address: "编辑收票地址",
	receive_goods: "收货",
	receive_invoice: "收票",
	please_input_name: "请输入{0}人姓名",
	name_length_exceed: "{0}人姓名超过20字符",
	name_include_illegal_character: "{0}人姓名含有非法字符",
	please_write_company: "请您填写{0}公司",
	company_name_include_illegal_character: "{0}公司含有非法字符",
	input_person_mobile_phone_number: "请您填写{0}人手机号码",
	incorrect_mobile_phone_number: "请输入正确的手机号码",
	telephone_number_include_illegal_character: "固定电话号码中含有非法字符",
	format_telephone_number: "请输入正确的固定电话，格式为:XXX(区号)-XXXXXXXX(电话号码)-XXX(分机号)",
	select_correct_address: "请选择正确的省份/城市/区县",
	select_correct_village: "请选择正确的乡镇",
	input_address_detail: "请您填写详细地址",
	address_detail_include_illegal_character: "详细地址中含有非法字符",
	address_detail_exceed: "详细地址过长",
	input_postal_code: "请您填写邮政编码",
	incorrect_postal_code: "请您填写正确的邮政编码",
	email_format_incorrect: "邮箱格式不正确",
	email_address_exceed: "邮箱长度不能大于100位",
	delete_operate: "删除操作",
	confirmed_to_delete: "确认删除吗？",
	not_much_more_pages_in_front: "前面没有那么多页面了",
	page_number_incorrect: "您输入的页数有误",
	not_much_more_pages_in_back: "后面没有那么多页面了",
	previous_page: "上一页",
	next_page: "下一页",
	total_page: "共{0}页",
	go_to_page: "到第<input type='text' value='{0}' id='pageNum'/>页",
	confirm: "确定"
}

var cartResource = {
	insufficient_store: "库存不足",
	max_num_can_buy: "该商品您最多只能购买{0}件",
	unit_piece: "件",
	none_selected_goods: "没有选中商品",
	delete_operate: "删除操作",
	confirmed_to_delete: "确认删除吗？",
	part_of_goods_lack: "部分选中的商品无库存",
	empty_operate: "清空操作",
	confirmed_to_empty_cart: "确定要清空购物车吗？",
	store_insufficient_and_not_added: "库存数量不足，商品数量不可增加！",
	update_cart_failure: "修改购物车失败！",
	sync_cart_failure: "同步购物车失败！",
	lack_of_stock: "暂无库存",
	relogin: "登录过期，请重新登录！",
	collection_success: "收藏成功！",
	unallowed_collection: "非独立销售商品不可收藏！",
	collection_failure: "收藏失败！",
	network_exception: "网络异常！",
	collection_exception: "收藏异常！"
}

var commonResource = {
	tip: "提示",
	confirm: "确 定",
	cancel: "取 消"
}

var communicationResource = {
	province: "省份",
	city: "地级市",
	county: "市、县级市",
	over_thirty_minutes: "时间已经超过30分钟！",
	save_failure: "保存失败！",
	return_value_error: "保存返回值有误！",
	minute: "分",
	second: "秒",
	limited_pictures_format: "图片限于jpg、gif、png或jpeg格式",
	file_size_limit: "上传文件大小请不要超过5M",
	uploading: "上传中...",
	upload_finish: "上传完成",
	upload_failure: "上传失败",
	parameter_error: "软锁参数有误!"
}

var eppHeaderResource = {
	welcome_login: "欢迎登录",
	lenovo_epp_system: "联想EPP购机系统！",
	exit: "退出",
	member_center: "会员中心",
	my_order: "我的订单",
	complain: "吐槽",
	lenovo_epp_mall: "联想EPP商城",
	shopping_cart: "购物车",
	copyright: "版权所有",
	lenovo_group: "联想集团",
	service_provider_info: "服务商信息",
	purchase_process: "购买流程",
	enroll_login: "注册登录",
	distribution_info: "配送方信息",
	sign_in_principle: "签收原则",
	express_query: "物流查询",
	payment_way: "支付方式",
	payment_issue: "支付问题",
	bank_staging: "银行分期",
	order: "订单",
	invoice: "发票",
	service: "售后服务",
	icp: "京ICP备11035381",
	input_goods_name: "输入商品名称",
	confirm_to_exit: "您确定要退出吗?"
}

var couponResource = {
	member_center: "会员中心",
	qq_consulting: "Q Q咨询",
	week_day: "周一到周日",
	hot_line: "客服热线",
	customer_investigation: "用户调研",
	back_to_top: "返回顶部"
}

var payResource = {
	collapse: "收起",
	more_info: "更多信息",
	collapse_more: "收起更多",
	show_more: "显示更多",
	checked_credit: "请勾选同意信用支付",
	contract_signing: "签署合同中...",
	contract_sign_success: "合同签署成功",
	sign_contract: "签署合同",
	network_exception: "网络异常",
	view_more: "查看更多",
	receiver_info: "收货信息",
	receiver_tip: "收款方信息：此物品是联想正品",
	invoice_info: "发票信息",
	reminder_tip: "温馨提示：多单合并支付只能通过支付宝方式支付"
}

String.prototype.format = function() {
	if(arguments.length == 0)
		return this;
	for(var s = this, i = 0; i < arguments.length; i++) {
		s = s.replace(new RegExp("\\{" + i + "\\}", "g"), arguments[i]);
	}
	return s;
}